import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import 'normalize.css'
// 引入全局样式
import '@/assets/public.css'
// 引入字体图标
import '@/assets/icon/iconfont.css'
// 引入面包屑
import MBXMMM from '@/components/MBXM'
Vue.config.productionTip = false
// 富文本 
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor)

// 引入过滤器
import * as filter from '@/filters'
// console.log('filters', Object.keys(filter))
Object.keys(filter).forEach(item => {
  // console.log(item)
  Vue.filter(item, filter[item])
})

// // 面包屑
Vue.component('MBX', MBXMMM)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
